# Contributor: Grigory Kirillov <txgk@bk.ru>
# Maintainer: Grigory Kirillov <txgk@bk.ru>
pkgname=ytfzf
pkgver=2.4.0
pkgrel=0
pkgdesc="Posix script to find and watch youtube videos from the terminal"
url="https://github.com/pystardust/ytfzf"
arch="noarch"
license="GPL-3.0-only"
options="!check" # no test suite
depends="
	curl
	jq
	"
subpackages="$pkgname-doc"
source="https://github.com/pystardust/ytfzf/archive/v$pkgver/ytfzf-$pkgver.tar.gz"
install="$pkgname.post-install"

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install doc addons
}

sha512sums="
9b66d8b56bb8a35baf04a5d34614882f8302e2f543d12182188438c50a76cca1182d7ac3a4a7a3d80d7c924478fd3af7968701e5d5ab8531a9d6f4ed5b731ece  ytfzf-2.4.0.tar.gz
"
